home *** CD-ROM | disk | FTP | other *** search
- global gTourForwardArrow
-
- on Interaction448
- case (the member of sprite 3).name of
- "section 4.4.7":
- NextDisplay(3, rect(10, 137, 376, 156), "section 4.4.8 step2")
- "section 4.4.8 step2":
- NextDisplay(3, rect(10, 137, 51, 152), "section 4.4.8 step4")
- "section 4.4.8 step4":
- EvalGoOn(3, rect(58, 166, 144, 181))
- end case
- end
-
- on Interaction4411
- case (the member of sprite 4).name of
- "searchres 2":
- NextDisplay(4, rect(391, 36, 560, 52), "searchres hilite")
- "searchres hilite":
- EvalGoOn(4, rect(593, 407, 636, 430))
- end case
- end
-
- on Interaction537
- case (the member of sprite 4).name of
- "wiz plain":
- NextDisplay(4, rect(243, 152, 260, 167), "wiz grouped")
- "wiz grouped":
- EvalGoOn(4, rect(389, 238, 455, 260))
- end case
- end
-
- on Interaction56
- case (the member of sprite 4).name of
- "section 5.6":
- NextDisplay(4, rect(137, 69, 233, 84), "section 5.6 w.2")
- "section 5.6 w.2":
- EvalGoOn(4, rect(389, 238, 455, 260))
- end case
- end
-
- on NextDisplay xSprite, TargetRect, memberName
- clickLoc = the clickLoc
- if inside(clickLoc, TargetRect) then
- puppetSprite(xSprite, 1)
- set the member of sprite xSprite to member(memberName)
- end if
- end
-
- on EvalGoOn xSprite, TargetRect
- clickLoc = the clickLoc
- if inside(clickLoc, TargetRect) then
- puppetSprite(xSprite, 0)
- simulateClickOn(gTourForwardArrow)
- end if
- end
-
- on ResetForVideo
- repeat with z = 2 to 15
- if not (the memberNum of sprite z = 0) then
- if member(the member of sprite z).type = #digitalVideo then
- VideoExists = 1
- sprite(z).movieRate = 0
- set the loc of sprite z to point(-888, -888)
- updateStage()
- set the member of sprite z to member("blank art")
- updateStage()
- set the puppet of sprite z to 0
- end if
- end if
- end repeat
- if VideoExists then
- VideoExists = 0
- puppetSprite(48, 1)
- set the loc of sprite 48 to point(0, 0)
- updateStage()
- set the loc of sprite 48 to point(-888, -888)
- updateStage()
- puppetSprite(48, 0)
- end if
- end
-
- on UnPuppetSprites
- repeat with rc = 2 to 15
- puppetSprite(rc, 0)
- end repeat
- end
-